<template>
	<div>
		<div class="pl-6 pr-6 pt-6">
			<el-card class="!border-none p-4" shadow="never">
				<div class="font-bold main-color text-2xl mb-5">
					咨询信息
				</div>
				<el-form class="ls-form el-set-form" :model="formData" inline>
					<el-form-item label="联系工程师">
						<el-select class="w-[220px]" v-model="formData.type" placeholder="请选择">
							<el-option v-for="(item, index) in visitType" :key="index" :label="item.label"
								:value="item.value" />
						</el-select>
					</el-form-item>
					<el-form-item label="咨询类型">
						<el-radio-group v-model="radio1" class="ml-4"
						>
						      <el-radio label="1">询单价</el-radio>
						      <el-radio label="2">咨询单</el-radio>
						</el-radio-group>
					</el-form-item>
				</el-form>
			</el-card>
			<el-card class="!border-none p-4 mt-[30px]" shadow="never">
				<div class="font-bold main-color text-2xl mb-5">
					咨询信息
				</div>
				<div class="mt-[30px] main-color l-80">
					<el-row class="mb-[30px]">
						<el-col class="mr-10" :span="4">
							<div>
								<div class="main-color mb-3">联系方式</div>
								<el-input  placeholder="请输入" />
							</div>
						</el-col>
						<el-col class="mr-10" :span="4">
							<div>
								<div class="main-color mb-3">公司名称</div>
								<el-input  placeholder="请输入" />
							</div>
						</el-col>
						<el-col class="mr-10" :span="4">
							<div>
								<div class="main-color mb-3">国家</div>
								<el-input  placeholder="请输入" />
							</div>
						</el-col>
						<el-col class="mr-10" :span="4">
							<div>
								<div class="main-color mb-3">城市</div>
								<el-input  placeholder="请输入" />
							</div>
						</el-col>
					</el-row>
					<el-row class="mb-[30px]">
						<el-col class="mr-10" :span="4">
							<div>
								<div class="main-color mb-3">电子邮箱</div>
								<el-input  placeholder="请输入" />
							</div>
						</el-col>
						<el-col class="mr-10" :span="4">
							<div>
								<div class="main-color mb-3">职位</div>
								<el-input  placeholder="请输入" />
							</div>
						</el-col>
					</el-row>	
					<el-row>
						<el-col :span="9">
							<div>
								<div class="main-color mb-3">产品描述</div>
								<el-input
									resize="none"
								    :rows="8"
								    type="textarea"
								    placeholder="请输入"
								/>
							</div>
						</el-col>
					</el-row>	
				</div>	
			</el-card>	
			<div class="mt-[40px]">
				<el-button class="main-color1 w-[76px]" >取消</el-button>
				<el-button class="w-[76px] bg-[#0054A6]" type="primary" >保存</el-button>
			</div>
		</div>	
	</div>
</template>

<script lang="ts" setup>
	import { computed, onMounted, reactive, ref, shallowRef } from 'vue'
	import { getRoutePath } from '@/router'
	const formData = reactive({
		admin_name: '',
		url: '',
		ip: '',
		type: '',
		start_time: '',
		end_time: ''
	})
	const visitType = ref<Array<any>>([
		{
			label: '晓明',
			value: '1'
		},
		{
			label: '小李',
			value: '2'
		},
	])
	const radio1 = ref('1')
</script>

<style lang="scss" scoped>
	.el-set-form:deep() .el-form-item__label{
		color: var(--el-text-color-main);
		height: 36px;
		line-height: 36px;
	}
	.el-set-form:deep() .el-input__inner{
		height: 36px;
	}
	.el-set-form:deep() .el-input__inner::placeholder {
		color: var(--el-text-color-main);
	}
</style>